<template>
  <div>
    <div>
      <h1>嵌套路由</h1>
      <a href="#/home2">主页</a>
      <a href="#/lism">新闻</a>
      <a href="#/sports">体育</a>
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
a {
  margin-right: 5px;
}
</style>
